import { Component } from "react";
import { App } from "./App";
import { StatusPage } from "./Pages/StatusPage";
import { ConfigPage } from "./Pages/ConfigPage";
import { AboutPage } from "./Pages//AboutPage";

const routes = [
    {
        Component: App,
        children: [
            { index: true,     Component: StatusPage },
            { path: '/status', Component: StatusPage },
            { path: '/config', Component: ConfigPage },
            { path: '/about',  Component: AboutPage }
        ]
    }
];

export { routes }